package cn.ywsj.ywsjmidtier.service;

import cn.ywsj.ywsjmidtier.common.Connect;
import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;

/**
 * @ClassName : WechatApprovalSettingFeign
 * @Author : Lenovo
 * @Date: 2021/7/23 13:40
 * @Description :
 */
@FeignClient(url = Connect.XSX_URL,name = "xsx")
public interface WechatApprovalSettingFeign {
    @GetMapping("/wechat/member/approvalsettingmgr/toapprovalflow")
    String toApprovalFlow();
    @RequestMapping("/wechat/member/approvalsettingmgr/toalluser")
    String toAllUser(@RequestParam("req") HttpServletRequest req);
     @RequestMapping("/wechat/member/approvalsettingmgr/getalluser")
    String getAllUser(@RequestParam("jsonObject")JSONObject jsonObject);
    @RequestMapping("/wechat/member/approvalsettingmgr/toallbuyer")
    String toAllBuyer(@RequestParam("req")HttpServletRequest req);
    @RequestMapping("/wechat/member/approvalsettingmgr/getallbuyer")
    String getAllBuyer(@RequestParam("jsonObject")JSONObject jsonObject);
    @RequestMapping("/wechat/member/approvalsettingmgr/toqueryallbuyer")
    String toQueryAllBuyer(@RequestParam("req")HttpServletRequest req);
    @RequestMapping("/wechat/member/approvalsettingmgr/queryallbuyer")
    String queryAllBuyer(@RequestParam("jsonObject")JSONObject jsonObject);
    @RequestMapping("/wechat/member/approvalsettingmgr/addapprovalflow")
    String addApprovalFlow(@RequestParam("jsonObject")JSONObject jsonObject);
    @RequestMapping("/wechat/member/approvalsettingmgr/saveapprovalflow")
    String saveApprovalFlow(@RequestParam("jsonObject")JSONObject jsonObject);
    @RequestMapping("/wechat/member/approvalsettingmgr/toupdateapprovalflow")
    String toUpdateApprovalFlow(@RequestParam("jsonObject")JSONObject jsonObject);
    @RequestMapping("/wechat/member/approvalsettingmgr/updateapprovalflow")
    String updateApprovalFlow(@RequestParam("jsonObject")JSONObject jsonObject);
    @RequestMapping("/wechat/member/approvalsettingmgr/deleteapprovalflow")
    String deleteApprovalFlow(@RequestParam("jsonObject")JSONObject jsonObject);
    @RequestMapping("/wechat/member/approvalsettingmgr/modifyapprovalflow")
    String modifyApprovalFlow(@RequestParam("jsonObject")JSONObject jsonObject);
    @RequestMapping("/wechat/member/approvalsettingmgr/toapprovalflowlist")
    String toApprovalFlowList(@RequestParam("req")HttpServletRequest req);
    @RequestMapping("/wechat/member/approvalsettingmgr/queryapprovalflowlist")
    String queryApprovalFlowList(@RequestParam("jsonObject")JSONObject jsonObject);
    @RequestMapping("/wechat/member/approvalsettingmgr/ajaxselectapprovalflow")
    String selectApprovalFlowList(@RequestParam("jsonObject")JSONObject jsonObject);
}
